package com.ruoyi.driver.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 银行账号对象 bank_accounts
 * 
 * @author yyj
 * @date 2025-08-17
 */
public class BankAccounts extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 银行账号记录ID */
    private Long id;

    /** 关联的司机ID */
    @Excel(name = "关联的司机ID")
    private Long driverId;

    /** 开户行 */
    @Excel(name = "开户行")
    private String bankName;

    /** 银行卡号 */
    @Excel(name = "银行卡号")
    private String bankCardNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDriverId(Long driverId) 
    {
        this.driverId = driverId;
    }

    public Long getDriverId() 
    {
        return driverId;
    }

    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }

    public void setBankCardNumber(String bankCardNumber) 
    {
        this.bankCardNumber = bankCardNumber;
    }

    public String getBankCardNumber() 
    {
        return bankCardNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("driverId", getDriverId())
            .append("bankName", getBankName())
            .append("bankCardNumber", getBankCardNumber())
            .toString();
    }
}
